package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ruoyi.system.domain.MedicalOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 处方管理Mapper接口
 *
 * @author yangxp
 * @date 2020-08-06
 */
public interface MedicalOrderMapper extends BaseMapper<MedicalOrder> {

	/**
	 * 查询处方列表
	 * @param wrapper
	 * @return
	 */
	List<MedicalOrder> selectMedicalOrderList(@Param(Constants.WRAPPER) Wrapper wrapper);

	/**
	 * 查询处方量及营业额
	 * @return
	 */
	List<Map<String, String>> selectDailyMoCountPrice();
}
